/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package modulo8.ejb;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import modulo8.entity.Amigo;

/**
 *
 * @author eumigue
 */
@Stateless
public class AmigoFacade extends AbstractFacade<Amigo> implements AmigoFacadeRemote {
    @PersistenceContext(unitName = "masterbook-ejbPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public AmigoFacade() {
        super(Amigo.class);
    }

}
